package com.winit.distributed.lock.autoconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author liuming.li
 */
@ConfigurationProperties(prefix = "distributed.lock")
public class DistributedLockProperties {

    private String lockPrefix = "Winit-Distributed-Lock:";

    public String getLockPrefix() {
        return lockPrefix;
    }

    public void setLockPrefix(String lockPrefix) {
        this.lockPrefix = lockPrefix;
    }
}
